﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace VueShopApi.Entities 
{
	/// <summary>
	/// 商品-相册关联表
	/// </summary>
	[JsonObject(MemberSerialization.OptIn), Table(Name = "sp_goods_pics", DisableSyncStructure = true)]
	public partial class SpGoodsPics 
	{
		/// <summary>
		/// 主键id
		/// </summary>
		[JsonProperty("pics_id"), Column(Name = "pics_id", IsPrimary = true, IsIdentity = true)]
		public int PicsId { get; set; }

		/// <summary>
		/// 商品id
		/// </summary>
		[JsonProperty("goods_id"), Column(Name = "goods_id", DbType = "mediumint(8) unsigned")]
		public int GoodsId { get; set; }

		/// <summary>
		/// 相册大图800*800
		/// </summary>
		[JsonProperty("pics_big"), Column(Name = "pics_big", DbType = "char(128)", IsNullable = false)]
		public string PicsBig { get; set; }

		/// <summary>
		/// 相册中图350*350
		/// </summary>
		[JsonProperty("pics_mid"), Column(Name = "pics_mid", DbType = "char(128)", IsNullable = false)]
		public string PicsMid { get; set; }

		/// <summary>
		/// 相册小图50*50
		/// </summary>
		[JsonProperty("pics_sma"), Column(Name = "pics_sma", DbType = "char(128)", IsNullable = false)]
		public string PicsSma { get; set; }

	}

}
